﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class WMSCreateCarInfoDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class WMSCreateCarInfoRequestDto
    {
        /// <summary>
        /// 描述 : 入库单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "waybillNo")]
        public string waybillNo { get; set; }

        /// <summary>
        /// 描述 : 入库日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "driverName")]
        public string driverName { get; set; }

        /// <summary>
        /// 描述 : 入库日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "carNo")]
        public string carNo { get; set; }

        /// <summary>
        /// 描述 : 入库日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "driverTel")]
        public string driverTel { get; set; }

        /// <summary>
        /// 描述 : 入库日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "driverIdcard")]
        public string driverIdcard { get; set; }

        /// <summary>
        /// 描述 : 入库日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "carrierName")]
        public string carrierName { get; set; }

        public List<WMSCreateCarInfoDetailsRequestDto> details { get; set; }
    }

    /// <summary>
    /// 条码生成明细表
    /// </summary>
    public class WMSCreateCarInfoDetailsRequestDto
    {
        /// <summary>
        /// 描述 : 条码编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "logPlanNo")]
        public string logPlanNo { get; set; }
        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "salesOrderNo")]
        public string salesOrderNo { get; set; }
        /// <summary>
        /// 描述 : 工单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "cusAddress")]
        public string cusAddress { get; set; }

        /// <summary>
        /// 描述 : 工单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "cusContact")]
        public string cusContact { get; set; }

        /// <summary>
        /// 描述 : 工单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "endCustomer")]
        public string endCustomer { get; set; }


    }

    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class WMSCreateCarInfoResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public int code { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

    }
}
